<template>
  <div class="discounts-wrap">
    <discounts-header></discounts-header>
    <discounts-block
      v-for="(item, index) in list"
      :key="index"
      :list="item"
    ></discounts-block>
  </div>
</template>

<script>
import DiscountsHeader from './components/Header.vue';
import DiscountsBlock from './components/Block.vue';

export default {
  name: 'Discounts',
  components: {
    DiscountsHeader,
    DiscountsBlock
  },
  data() {
    return {
      list: [
        {
          title: '1', description: '1', discountsDescription: '1', shareCounts: 0
        },
        {
          title: '1', description: '1', discountsDescription: '1', shareCounts: 0
        },
        {
          title: '1', description: '1', discountsDescription: '1', shareCounts: 0
        }
      ]
    };
  }
};
</script>

<style lang="less" scoped>
</style>
